package com.quwan.common.result;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * @author quan
 * @date 2022-06-11 15:31
 */


public class MsgCallBackResp {


    public static Map<String,Object> success() {
        Map<String,Object>  res =  new HashMap<>();
        res.put("ActionStatus","OK");
        res.put("ErrorInfo","");
        res.put("ErrorCode",0);
        return res;
    }
    public static Map<String,Object> fail() {
        Map<String,Object>  res =  new HashMap<>();
        res.put("ActionStatus","FAIL");
        res.put("ErrorInfo","");
        res.put("ErrorCode",1);
        return res;

    }
    public static  Map<String,Object>  reject() {
        Map<String,Object>  res =  new HashMap<>();
        res.put("ActionStatus","OK");
        res.put("ErrorInfo","");
        res.put("ErrorCode",1);
        return res;

    }
}
